com.supermap.ar.areffect.gltfModel
Class Accessors
- java.lang.Object
-
- com.supermap.ar.areffect.gltfModel.Accessors
-
public class Accessors extends java.lang.Object
accessor consistent with gltf model parameters One accessor corresponds with one bufferview It is used for defining the data type, data format, and layout of bufferview
-
-
Constructor Summary
Constructors Constructor and Description Accessors()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.Integer
getBufferView()
Gets tilesjava.lang.Integer
getByteOffset()
Gets offsetsjava.lang.Integer
getComponentType()
Gets data typesjava.lang.Integer
getCount()
Gets the number of elementsjava.util.List<java.lang.Double>
getMax()
Gets the maximum valuejava.util.List<java.lang.Double>
getMin()
Gets the minimum valuejava.lang.String
getName()
Gets the namejava.lang.String
getType()
Gets the property typevoid
setBufferView(java.lang.Integer bufferView)
Sets tilesvoid
setByteOffset(java.lang.Integer byteOffset)
Sets offsetsvoid
setComponentType(java.lang.Integer componentType)
Sets data types Such as 512 is floatvoid
setCount(java.lang.Integer count)
Sets the number of elementsvoid
setMax(java.util.List<java.lang.Double> max)
Sets the maximum valuevoid
setMin(java.util.List<java.lang.Double> min)
Sets the minimum valuevoid
setName(java.lang.String name)
Sets a namevoid
setType(java.lang.String type)
Sets the property type type is used for indicating whether the data element is scale (SCALLAR), vector (VEC3), or matrix (MAT4)
-
-
-
Method Detail
-
setBufferView
public void setBufferView(java.lang.Integer bufferView)
Sets tiles- Parameters:
bufferView
-
-
getBufferView
public java.lang.Integer getBufferView()
Gets tiles- Returns:
-
setByteOffset
public void setByteOffset(java.lang.Integer byteOffset)
Sets offsets- Parameters:
byteOffset
-
-
getByteOffset
public java.lang.Integer getByteOffset()
Gets offsets- Returns:
-
setComponentType
public void setComponentType(java.lang.Integer componentType)
Sets data types Such as 512 is float- Parameters:
componentType
-
-
getComponentType
public java.lang.Integer getComponentType()
Gets data types- Returns:
-
setCount
public void setCount(java.lang.Integer count)
Sets the number of elements- Parameters:
count
-
-
getCount
public java.lang.Integer getCount()
Gets the number of elements- Returns:
-
setMax
public void setMax(java.util.List<java.lang.Double> max)
Sets the maximum value- Parameters:
max
-
-
getMax
public java.util.List<java.lang.Double> getMax()
Gets the maximum value- Returns:
-
setMin
public void setMin(java.util.List<java.lang.Double> min)
Sets the minimum value- Parameters:
min
-
-
getMin
public java.util.List<java.lang.Double> getMin()
Gets the minimum value- Returns:
-
setType
public void setType(java.lang.String type)
Sets the property type type is used for indicating whether the data element is scale (SCALLAR), vector (VEC3), or matrix (MAT4)- Parameters:
type
-
-
getType
public java.lang.String getType()
Gets the property type- Returns:
-
setName
public void setName(java.lang.String name)
Sets a name- Parameters:
name
-
-
getName
public java.lang.String getName()
Gets the name- Returns:
-
-